home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000222_simon@lia.di.epfl.ch_Wed Feb 2 11:32:30 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from liasun6.epfl.ch by cs.umb.edu with SMTP id AB01158
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 2 Feb 1994 11:32:30 -0500
  3. Received: by liasun6.epfl.ch (Smail3.1.28.1 #58)
  4.     id m0pRkVA-0002P8C; Wed, 2 Feb 94 17:32 MET
  5. Message-Id: <m0pRkVA-0002P8C@liasun6.epfl.ch>
  6. Date: Wed, 2 Feb 94 17:32 MET
  7. From: simon@lia.di.epfl.ch (Simon Leinen)
  8. To: neal@ctd.comsat.com (Neal Becker)
  9. Cc: tex-k@cs.umb.edu
  10. Subject: Re: hpux9.01 gcc2.5.7 coredump on triptrap
  11. In-Reply-To: <m0pRj1X-0002fOC@neal.ctd.comsat.com>
  12. References: <m0pRj1X-0002fOC@neal.ctd.comsat.com>
  13.  
  14. >>>>> "Neal" == Neal Becker <neal@ctd.comsat.com> writes:
  15.  
  16. Neal> Thanks for the patch to fn.c!  But this is not fixed.  Still
  17. Neal> dumps with -O2 (not with -O).
  18.  
  19. I think the patch isn't good enough because it fails to allocate the
  20. byte for the terminating null char.  Try changing the line
  21.  
  22.     FN_ALLOCATED (ret) = CHUNK_SIZE > len ? CHUNK_SIZE : len;
  23. to
  24.     FN_ALLOCATED (ret) = CHUNK_SIZE > len ? CHUNK_SIZE : len+1;
  25.  
  26. Hope this helps,
  27. -- 
  28. Simon.